home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 031a / adg_7_8.zip / SETUPINF.H < prev    next >
Text File  |  1991-02-21  |  2KB  |  53 lines

  1. /****************************************************************************
  2. Module name: SetupInf.H
  3. Programmer : Jeffrey M. Richter.
  4. *****************************************************************************/
  5.  
  6. typedef enum {
  7.    SIM_INITIALIZE,      // wParam: NU, lpBuffer: SETUP.INF file's pathname.
  8.  
  9.    SIM_GETAPPNAME,      // wParam: NU, lpBuffer: buffer.
  10.    SIM_GETDEFDIR,       // wParam: NU, lpBuffer: buffer.
  11.    SIM_GETSPACENEEDED,  // wParam: NU, lpBuffer: NU.
  12.  
  13.    SIM_GETNUMDISKS,     // wParam: NU, lpBuffer: NU.
  14.    SIM_GETDISKDESC,     // wParam: Disk#, lpBuffer: NU.
  15.    SIM_FINDDISKNUM,     // wParam: Disk#, lpBuffer: NU.
  16.  
  17.    SIM_GETNUMDIRS,      // wParam: NU, lpBuffer: NU.
  18.    SIM_GETDIR,          // wParam: Dir#, lpBuffer: buffer.
  19.    SIM_FINDDIRNUM,      // wParam: Dir#, lpBuffer: NU.
  20.  
  21.    SIM_GETNUMFILES,     // wParam: NU, lpBuffer: NU.
  22.    SIM_GETFILEDESC,     // wParam: File#, lpBuffer: buffer.
  23.    SIM_GETFILENAME,     // wParam: File#, lpBuffer: buffer.
  24.    SIM_GETFILEDIR,      // wParam: File#, lpBuffer: buffer. Returns #.
  25.    SIM_GETFILEDISK,     // wParam: File#, lpBuffer: buffer 4 DESC. RETURNS #
  26.    SIM_ISFILECOMPRESSED,// wParam: File#, lpBuffer: NU.
  27.    SIM_FINDDIRFORFILE,  // wParam: NU, lpBuffer: Filename.
  28.  
  29.    SIM_GETPMGROUP,      // wParam: NU, lpBuffer: buffer.
  30.    SIM_GETPMGROUPFILENAME, // wParam: NU, lpBuffer: buffer.
  31.    SIM_GETNUMPMPROGS,   // wParam: NU, lpBuffer: NU.
  32.    SIM_GETPMPROGNAME,   // wParam: PMProg#, lpBuffer: buffer.
  33.    SIM_GETPMPROGDESC,   // wParam: PMProg#, lpBuffer: buffer.
  34.    SIM_GETPMICONINFO    // wParam: PMProg#, lpBuffer: buffer. Returns icon #.
  35. } SETUPINFOMSG;
  36.  
  37.  
  38. // Possible return values from sending the SIM_INITIALIZE message.
  39. typedef enum {
  40.    SIM_INIT_NOERROR,
  41.    SIM_INIT_NOMEM,
  42.    SIM_INIT_NOFILE
  43. } SIM_INITIALIZE_ERROR;
  44.  
  45. DWORD FAR PASCAL SetupInfoSys (SETUPINFOMSG Msg, WORD wParam, LPSTR lpBuffer);
  46.  
  47. // Defines used by the SETUP program.
  48. #define MAXDISKDESC     50
  49. #define MAXDIRDESC      30
  50. #define MAXFILEDESC     50
  51. #define MAXPMDESC       30
  52. #define MAXAPPNAME      40
  53.